package cn.pa4j.pojo;


import java.util.Date;

/**
 * Created by 060016 on 2017-11-28.
 */
public class MessageInfo {
    private String requestIP;
    private String requestURL;
    private Date requsetTime;
    private String requsetBody;
    private String Result;
    private Date endTime;

    public MessageInfo() {}

    public MessageInfo(String requestIP, String requestURL, String requsetBody) {
        this.requestIP = requestIP;
        this.requsetTime= new Date();
        this.requestURL = requestURL;
        this.requsetBody = requsetBody;
    }

    public String getRequestIP() {
        return requestIP;
    }

    public void setRequestIP(String requestIP) {
        this.requestIP = requestIP;
    }

    public String getRequestURL() {
        return requestURL;
    }

    public void setRequestURL(String requestURL) {
        this.requestURL = requestURL;
    }

    public Date getRequsetTime() {
        return requsetTime;
    }

    public void setRequsetTime(Date requsetTime) {
        this.requsetTime = requsetTime;
    }

    public String getRequsetBody() {
        return requsetBody;
    }

    public void setRequsetBody(String requsetBody) {
        this.requsetBody = requsetBody;
    }

    public String getResult() {
        return Result;
    }

    public void setResult(String result) {
        Result = result;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "MessageInfo{" +
                "requestIP='" + requestIP + '\'' +
                ", requestURL='" + requestURL + '\'' +
                ", requsetTime=" + requsetTime +
                ", requsetBody='" + requsetBody + '\'' +
                ", Result='" + Result + '\'' +
                ", endTime=" + endTime +
                '}';
    }
}
